<script>
function checkform(){
	var company_name=$('input[name="company_name"]').val();
	if(trim(company_name)==''){
		alert('公司名称！');
		return false;		
	}
	var fuel_surcharge=$('input[name="fuel_surcharge"]').val();
	if(!checkDecimal(fuel_surcharge)){
		alert('请填写正确燃油附加费！');
		return false;		
	}

	$('#addFeatureForm').submit();
}
</script>
<div class="frame_addfactoryDiv">
  <form name="addFeatureForm" id="addFeatureForm" enctype="multipart/form-data"  action="administrator-express-doeditcompany?companyid=<?=$this->companyArray[0]['companyid']?>" method="post">
  <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#c8d9e9">
    <tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 公司名称：</td>
      <td width="85%" class="le">
	  	<input type="text" name="company_name" maxlength="30" value="<?=$this->companyArray[0]['company_name']?>" id="company_name">
	  </td>
    </tr>
    <tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 燃油附加费：</td>
      <td width="85%" class="le">
	  	<input type="text" name="fuel_surcharge" maxlength="30" value="<?=$this->companyArray[0]['fuel_surcharge']?>" id="fuel_surcharge">
	  </td>
    </tr>
	<tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 体积重参数：</td>
      <td width="85%" class="le">
	  	<input type="text" name="volume_param" maxlength="30" value="<?=$this->companyArray[0]['volume_param']?>" id="volume_param">
	  </td>
    </tr>
	<tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 注意事项（英文）：</td>
      <td width="85%" class="le">
	  	<?=$this->oFCKeditor_en->create();?>
	  </td>
    </tr>
	<tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 注意事项（中文）：</td>
      <td width="85%" class="le">
	  	<?=$this->oFCKeditor_cn->create();?>
	  </td>
    </tr>
    <tr>
      <td colspan="2" class="se" align="center">
        <input name="button2" type="button" class="iput" value="保 存"   onclick="checkform();" />　　
        <input name="button" type="button" class="iput" value="返 回" onclick="commonEffection.confirmBack();" />
      </td>
    </tr>
  </table>
</div>